package com.baomidou.springwind.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;


/**
 * <p>
 * 
 * </p>
 *
 * @author Koumiba
 * @since 2017-03-24
 */
@TableName("tb_app")
public class App extends Model<App> {

    private static final long serialVersionUID = 1L;
    /** 主键ID */
	@TableId
	private Long tbid;
    /**
     * 图标名称
     */
	private String name;
    /**
     * 图标图片
     */
	private String icon;
    /**
     * 图标链接
     */
	private String url;
    /**
     * 应用类型，app（窗口应用）widget（挂件应用）
     */
	private String type;
    /**
     * 窗口宽度
     */
	private Integer width;
    /**
     * 窗口高度
     */
	private Integer height;
    /**
     * 是否能对窗口进行拉伸，1（是）0（否）
     */
	private Integer isresize;
    /**
     * 是否打开直接最大化，1（是）0（否）
     */
	private Integer isopenmax;
    /**
     * 窗口是否有评分和介绍按钮，1（是）0（否）
     */
	private Integer issetbar;
    /**
     * 是否为flash应用，1（是）0（否）
     */
	private Integer isflash;
    /**
     * 备注
     */
	private String remark;
    /**
     * 使用人数
     */
	private Long usecount;
    /**
     * 评分
     */
	private Double starnum;
    /**
     * 添加时间
     */
	private Date dt;
    /**
     * 是否推荐，1（是）0（否）
     */
	private Integer isrecommend;
    /**
     * 审核状态，0（未提交审核）1（审核通过）2（审核中）3（审核不通过）
     */
	private Integer verifytype;
    /**
     * 审核提示信息
     */
	private String verifyinfo;
    /**
     * 应用类目id
     */
	@TableField("app_category_id")
	private Long appCategoryId;
    /**
     * 用户id
     */
	@TableField("member_id")
	private Long memberId;


	public Long getTbid() {
		return tbid;
	}

	public void setTbid(Long tbid) {
		this.tbid = tbid;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Integer getWidth() {
		return width;
	}

	public void setWidth(Integer width) {
		this.width = width;
	}

	public Integer getHeight() {
		return height;
	}

	public void setHeight(Integer height) {
		this.height = height;
	}

	public Integer getIsresize() {
		return isresize;
	}

	public void setIsresize(Integer isresize) {
		this.isresize = isresize;
	}

	public Integer getIsopenmax() {
		return isopenmax;
	}

	public void setIsopenmax(Integer isopenmax) {
		this.isopenmax = isopenmax;
	}

	public Integer getIssetbar() {
		return issetbar;
	}

	public void setIssetbar(Integer issetbar) {
		this.issetbar = issetbar;
	}

	public Integer getIsflash() {
		return isflash;
	}

	public void setIsflash(Integer isflash) {
		this.isflash = isflash;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Long getUsecount() {
		return usecount;
	}

	public void setUsecount(Long usecount) {
		this.usecount = usecount;
	}

	public Double getStarnum() {
		return starnum;
	}

	public void setStarnum(Double starnum) {
		this.starnum = starnum;
	}

	public Date getDt() {
		return dt;
	}

	public void setDt(Date dt) {
		this.dt = dt;
	}

	public Integer getIsrecommend() {
		return isrecommend;
	}

	public void setIsrecommend(Integer isrecommend) {
		this.isrecommend = isrecommend;
	}

	public Integer getVerifytype() {
		return verifytype;
	}

	public void setVerifytype(Integer verifytype) {
		this.verifytype = verifytype;
	}

	public String getVerifyinfo() {
		return verifyinfo;
	}

	public void setVerifyinfo(String verifyinfo) {
		this.verifyinfo = verifyinfo;
	}

	public Long getAppCategoryId() {
		return appCategoryId;
	}

	public void setAppCategoryId(Long appCategoryId) {
		this.appCategoryId = appCategoryId;
	}

	public Long getMemberId() {
		return memberId;
	}

	public void setMemberId(Long memberId) {
		this.memberId = memberId;
	}

	@Override
	protected Serializable pkVal() {
		return this.tbid;
	}

}
